﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"  AutoEventWireup="true" CodeFile="DailyReport.aspx.cs" Inherits="Attendance_DailyReport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
                    &nbsp;<table style="width: 438px" align="center" >
                        <tbody>
                            <tr>
                                <td colspan="3">
                                    今天是：
                                    <asp:Label ID="lblToday" runat="server" Width="214px"></asp:Label><br />
                                    &nbsp;<asp:Panel ID="Panel1" runat="server" Height="31px" Visible="False" Width="402px">
                                        请选择要查看的部门：<asp:DropDownList ID="cmbDeptList" runat="server" OnSelectedIndexChanged="cmbDeptList_SelectedIndexChanged"
                                            Width="174px">
                                        </asp:DropDownList>
                                        <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="确定" /></asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    <asp:Label ID="Label2" runat="server" Text="全部考勤合格！" Visible="False" Width="207px"></asp:Label>
                                    <asp:Label ID="Label1" runat="server" Text="考勤不合格的名单如下:" Visible="False" Width="188px"></asp:Label></td>
                            </tr>
                            <tr>
                                <td colspan="3" rowspan="2" style="height: 21px">
                                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
                                        ForeColor="#333333" GridLines="None" Height="27px" Visible="False" Width="430px">
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <Columns>
                                            <asp:BoundField HeaderText="员工姓名" DataField="BreachName" />
                                            <asp:BoundField HeaderText="日期" DataField="date" />
                                            <asp:BoundField HeaderText="类型" DataField="type" />
                                            <asp:BoundField HeaderText="迟到/早退时间" DataField="breachtime" />
                                        </Columns>
                                        <RowStyle BackColor="#EFF3FB" />
                                        <EditRowStyle BackColor="#2461BF" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                            </tr>
                        </tbody>
                    </table>
    
    </div>
</asp:Content>